package com.example.market_management.enums;

public enum  ResponseCode implements  IResponseCode {

    SUCCESS(200,"操作成功"),
    FAILED(500,"操作失败");



    private Integer code;
    private String  msg;

    ResponseCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }


}
